package com.cn.jinl.dao;

import com.cn.jinl.domain.OnDutyReduce;
import com.cn.jinl.domain.OnDutyReduceExample;
import java.util.List;

import com.cn.jinl.utils.QueryForm;
import org.apache.ibatis.annotations.Param;

public interface OnDutyReduceMapper {
    int countByExample(OnDutyReduceExample example);

    int deleteByExample(OnDutyReduceExample example);

    int insert(OnDutyReduce record);

    int insertSelective(OnDutyReduce record);

    List<OnDutyReduce> selectByExample(OnDutyReduceExample example);
    List<OnDutyReduce> selectOndutyReduceList(QueryForm queryForm);

    int selectOndutyReduceListCount(QueryForm queryForm);

    List<OnDutyReduce> selectOndutyReduceDetails(QueryForm queryForm);
    int selectOndutyReduceDetailsCount(QueryForm queryForm);

    int updateByExampleSelective(@Param("record") OnDutyReduce record, @Param("example") OnDutyReduceExample example);

    int updateByExample(@Param("record") OnDutyReduce record, @Param("example") OnDutyReduceExample example);
}